package cate.common.table.role.vip;

import cate.common.table.ESheet;
import org.apache.commons.lang3.StringUtils;

public class VipCsMailSheet extends ESheet<VipCsMailRow> {

    @Override
    public String getSheetName() {
        return "vip客服邮件";
    }

    public VipCsMailRow find(int level, String gameId) {
        for(VipCsMailRow row : list) {
            if(level == row.level && StringUtils.equals(gameId, row.gameId)) {
                return row;
            }
        }
        return null;
    }

}
